package Mediator;

public class ChatRoom {

    static void  publishMessage(User user,String message)
    {
        System.out.println(user.getName()+"说了"+message);
    }
}
